package com.ocpjp;

import com.ocpjp.model.User;

public class MyUser {
	public static void main(String[] args) {

		User user1 = new User();
		user1.parse("Karol,Czarnecki,2012-01-01");

		User user2 = new User();
		user2.parse("Jan,Kowalski,2013-01-01");

		System.out.println(user1.name);
		System.out.println(user1.surname);
		System.out.println(user1.dob);
		
		System.out.println(user2.name);
		System.out.println(user2.surname);
		System.out.println(user2.dob);
	}
}
